<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="utf-8" />
  <title>Browse for Python files</title>
  <style>
    table, th, td {
      border: 1px solid black;
      border-collapse: collapse;
    }
    th, td {
      padding: 5px;
    }
    th {
      font-weight: bold;
    }
  </style>
</head>
<body>
  ## Browse for Python files

This sample code demonstrates how to create a custom object filter in ArcCatalog and use it through a custom command to select a Python file (*.py).   

```
Language:              C#, VB
Subject:               Catalog
Organization:          Esri, http://www.esri.com
Date:                  10/17/2019
ArcObjects SDK:        10.8
Visual Studio:         2017, 2019
.NET Target Framework: 4.5
```

### Resources

* [ArcObjects .NET API Reference online](http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm)  
* [Sample Data Download](../../releases)  
* [What's new](http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#91cabc68-2271-400a-8ff9-c7fb25108546.htm)  
* [Download the ArcObjects SDK for .Net from MyEsri.com](https://my.esri.com/)  

### Usage
1. Start Visual Studio and build the solution.  
1. Start ArcCatalog.  
1. Click the Customize menu and select Add-In manager.  
1. On the Add-Ins tab, there should be CustomGxFilterVBNET or CustomGxFilter_CS. If not, click Customize, Command tab, then click Add from File.   
1. Navigate to the location of the built solution (that is, CustomGxFilterVBNET.esriAddIn or CustomGxFilter_CS.esriAddIn).  
1. Install the add-in.  
1. On the Commands tab, under Categories, make sure Add-In Controls is highlighted.   
1. Select and drag the button to the existing ArcCatalog toolbar.  

---------------------------------

#### Licensing  
<table><tr><th> Development licensing </th><th> Deployment licensing </th></tr>
<tr><td> ArcGIS Desktop Basic </td><td> ArcGIS Desktop Basic </td></tr>  
<tr><td> ArcGIS Desktop Standard </td><td> ArcGIS Desktop Standard </td></tr>  
<tr><td> ArcGIS Desktop Advanced </td><td> ArcGIS Desktop Advanced </td></tr>  
</table>
</body>
</html>